/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Monitor.Model
{

    /// <summary>
    ///  queryResponseItem
    /// </summary>
    public class QueryResponseItem
    {

        ///<summary>
        /// 如果结果集中包含多个时间序列，即它们被聚合
        /// 则会显示在所有时间序列中共同发现的标记名称列表
        ///</summary>
        public List<string> AggregateTags{ get; set; }
        ///<summary>
        /// 如果查询检索到时间序列在所请求的时间范围内的注释, 则它们将在该组中返回
        /// 每个时间序列的注释将被合并到一个集合中，并按start_time进行排序
        ///</summary>
        public List<Annotation> Annotations{ get; set; }
        ///<summary>
        /// 由聚合器处理后检索的数据点
        /// 每个数据点由一个时间戳和一个值组成
        ///</summary>
        public Dictionary<String,object> Dps{ get; set; }
        ///<summary>
        /// 查询将在时间范围内扫描全局注释，并在该组中返回结果
        ///</summary>
        public List<Annotation> GlobalAnnotations{ get; set; }
        ///<summary>
        /// metric名称
        ///</summary>
        public string Metric{ get; set; }
        ///<summary>
        /// 仅当结果为单时间序列时才返回标签列表
        /// 如果是聚合则返回空
        ///</summary>
        public Dictionary<String,string> Tags{ get; set; }
    }
}
